Previous Book Contents Book Index Next

Inside Macintosh: QuickDraw GX Objects /
Chapter 4 - Colors and Color-Related Objects / Colors and Color-Related Objects Reference
Color Set Functions / Creating and Manipulating Color Set Objects


GXEqualColorSet

You can use the GXEqualColorSet function to determine whether two color set objects are equal.

boolean GXEqualColorSet(gxColorSet one, gxColorSet two);
one
A reference to one of the color sets to test for equality.
two
A reference to the other color set to test for equality.
function result
true if the two color sets are equal; false otherwise.
DESCRIPTION
The GXEqualColorSet function tests two color set objects for equality. For two color sets to be equal, they must have the same color space and identical color values--in the same order. Their owner counts and tag lists need not be identical.

ERRORS, WARNINGS, AND NOTICES
Errors 
out_of_memory 
colorSet_is_nil 
SEE ALSO
To make a copy of a color set object that is equal by the criteria of this function, use the GXCopyToColorSet function, described in the previous section.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996